#ifndef GLOBALNE
#define GLOBALNE
#define PISZE 1
#if (PISZE)
    #include <iomanip>
    #include <fstream>
    #define LOGUJ(a)  (*G->gl->loguj << a)
	#define LOGUJGl(a)  (*gl->loguj << a)
    #define TIMEINIT    time_t _ta, _tb; double _dt;
    #define TIMESTART   time(&_ta);
    #define TIMESTOP    time(&_tb); _dt = difftime(_tb, _ta);
    #define TIMEDIFF    _dt
	#define CZAS difftime( time(NULL), start)<<"\t"
	#define CZASz difftime( time(NULL), G->start)<<"\t"
#else
    #define LOGUJ(a)  ;
	#define LOGUJGl(a)  ;
#endif

class Globalne
{
public:
	#ifdef PISZE
	std::ofstream *loguj;
	std::ofstream *konf;
	std::ofstream *boczny;
	std::ifstream *proj;
	#endif
} ;
#endif // GLOBALNE
